FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD target/companion-server-0.0.1-SNAPSHOT.jar companion-server.jar
ENV JAVA_OPTS=""
EXPOSE 1111
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /companion-server.jar